<script>

var tabNames = {};

chrome.tabs.onUpdated.addListener(function(tabid, changeInfo, tab)
{
	if(tabNames[tabid] && tab.title != tabNames[tabid])
	{
		chrome.tabs.executeScript(tabid, {code: 'document.title = "'+tabNames[tabid]+'";'}, null);
	}
}
);

</script>

